package com.itheima.system.service;


import com.github.pagehelper.Page;
import com.itheima.aom.pojo.AomUser;

import java.util.List;

public interface UserService {
     AomUser findUserNameAndPassWord(AomUser user);


    void updatePassword(AomUser user);

    void addUser(AomUser user,AomUser loginUser);

    List<AomUser> findAllUser(AomUser user);

    AomUser findById(Integer id);


    void deleteById(Integer id);

    Page<AomUser> findPage(int page, int size,String username);


    void updateUser(AomUser user);
}
